package test.dummies;

import java.util.List;

import bluej.debugger.DebuggerField;
import bluej.debugger.gentype.JavaType;
import bluej.debugger.jdi.JdiObject;

/**
 * A dummy for the JDI object.
 * 
 * @author Niels Billen
 * @version 0.1
 * @since 0.1
 */
public class JdiObjectDummy extends JdiObject {
	public JdiObjectDummy(String className, ObjectReferenceDummy dummy, List<DebuggerField> fields) {
		this.className = className;
		this.fields = fields;
		this.obj = dummy;
	}
	
	private String className;
	
	public String getClassName() {
		return className;
	}
	
	public boolean isArray() {
		return false;
	}

	public List<DebuggerField> getFields() {
		return fields;
	}
	
	private List<DebuggerField> fields;
	
	public ObjectReferenceDummy getObjectReference() {
		return obj;
	}
	
	private ObjectReferenceDummy obj;
	
	public JavaType getElementType() {
		return null;
	}
	
	public int getElementCount() {
		return 0;
	}
	
	public String getElementValueString() {
		return "geen idee wat dees is!";
	}
}
